<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />

</head>

<body>

    <header class="aui-bar aui-bar-nav aui-bar-light" id="header">
        <a class="aui-pull-left aui-btn" tapmode onclick="api.closeWin();">
            <span class="aui-iconfont aui-icon-left" style="color:#ff4285;"></span>
        </a>
        <div class="aui-title" style="color:#ff4285;">重置密码</div>
    </header>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="./conf/config.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<script type="text/javascript">
    apiready = function() {
        // alert(api.pageParam.userid);
        //   alert(api.pageParam.username);
        //     alert(api.pageParam.random);

        var header = $api.byId('header'); //获取节点
        $api.fixStatusBar($api.dom('header'));
        api.setStatusBarStyle({
            style: 'dark',
           color:'transparent'
        });
        var headerH = $api.offset(header).h; //获取header的高
        api.openFrame({ //打开一个frame
            name: 'next_re_password_frame',
            url: './next_re_password_frame.html',
            rect: { //定位下面
                x: 0,
                y: headerH,
                w: 'auto',
                h: 'auto'
            },
            pageParam: {
                userid: api.pageParam.userid,
                random: api.pageParam.random,
                username: api.pageParam.username
            },
            bounces: true //弹跳开启
        });
    };

    function fnOpenRegisterWin() {
        api.openWin({
            name: 'register',
            url: './register.html',
            pageParam: {
                name: 'test'
            }
        });
    }
</script>

</html>
